package com.sinosoft.dsp.component.bpm.viewbean;

import java.util.Map;

import javax.xml.namespace.QName;

import com.sinosoft.dsp.component.bpm.exception.SinoBPMException;
import com.sinosoft.dsp.platform.components.IEditViewBean;

public interface IBpmAddEditDefineViewBean extends IEditViewBean {

	/**
	 * 转换为映射对象
	 * 
	 * @return
	 * @throws SinoBPMException
	 */
	public Map<QName, String> toMap() throws SinoBPMException;

	/**
	 * 从映射对象中设置对象
	 * 
	 * @param map
	 * @throws SinoBPMException
	 */
	public void fromMap(Map<QName, String> map) throws SinoBPMException;

}
